package com.sdkj.dspservice.modules.report.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.sdkj.dspservice.common.base.service.CrudService;
import com.sdkj.dspservice.common.react.AntdProResult;
import com.sdkj.dspservice.modules.report.entity.Report;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 报表service
 * @author tm
 */
public interface ReportService extends CrudService<Report> {

    AntdProResult executeSql(Map<String, Object> paramMap) throws SQLException;
    List<Report> listLink(@Param(Constants.WRAPPER) Wrapper<Report> wrapper);

}
